<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>iEasy Server</title>

    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/libs/layui/css/layui.css">
    <!--<link rel="stylesheet" href="/css/layui/layui.override.css">-->
    <link rel="stylesheet" href="/css/global.css?t=15">
</head>

<body class="layui-layout-body">

<div id="app">
    <div class="layui-layout layui-layout-admin">

        <!-- 头部 -->
        <div class="layui-header">
            <ul class="layui-nav layui-layout-left">
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:void(0);" title="侧边伸缩" admin-event="flexible">
                        <i class="layui-icon layui-icon-shrink-right" id="flexible"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:void(0);" title="刷新" admin-event="refresh">
                        <i class="layui-icon layui-icon-refresh-3"></i>
                    </a>
                </li>
            </ul>

            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:void(0);" title="全屏" admin-event="fullscreen">
                        <i class="layui-icon layui-icon-screen-full"></i>
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:void(0);">
                        <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                        <cite>贤心</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:void(0);">基本资料</a></dd>
                        <dd><a href="javascript:void(0);">修改密码</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item" lay-unselect>
                    <a href="javascript:void(0);" admin-event="logout">退出</a>
                </li>
            </ul>
        </div>

        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
            <div class="layui-side-scroll">

                <div class="layui-logo">
                    <span>iEasy Server</span>
                </div>

                <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="system-side-menu" lay-filter="admin-system-side-menu">
                    <li class="layui-nav-item">
                        <a href="javascript:void(0);" lay-href="/welcome" lay-tips="主页" lay-direction="2">
                            <i class="layui-icon layui-icon-home"></i>
                            <cite>主页</cite>
                        </a>
                    </li>

                    <li class="layui-nav-item layui-nav-itemed">
                        <a href="javascript:void(0);" lay-tips="所有商品" lay-direction="2">
                            <i class="layui-icon layui-icon-cellphone"></i>
                            <cite>所有商品</cite>
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:void(0);" lay-href="/welcome/index">列表一</a></dd>
                            <dd><a href="javascript:void(0);" lay-href="">列表二</a></dd>
                            <dd><a href="javascript:void(0);" lay-href="">列表三</a></dd>
                            <dd class="layui-this"><a href="javascript:void(0);" lay-href="">超链接</a></dd>
                        </dl>
                    </li>

                    <li class="layui-nav-item">
                        <a href="javascript:void(0);" lay-tips="解决方案" lay-direction="2">
                            <i class="layui-icon layui-icon-group"></i>
                            <cite>解决方案</cite>
                        </a>
                        <dl class="layui-nav-child">

                            <dd>
                                <a href="javascript:void(0);">二级菜单</a>
                                <dl class="layui-nav-child">
                                    <dd><a href="javascript:void(0);" lay-href="">三级菜单一</a></dd>
                                    <dd><a href="javascript:void(0);" lay-href="">三级菜单二</a></dd>
                                    <dd><a href="javascript:void(0);" lay-href="">三级菜单三</a></dd>
                                </dl>
                            </dd>

                            <dd><a href="javascript:void(0);" lay-href="">列表一</a></dd>
                            <dd><a href="javascript:void(0);" lay-href="">列表二</a></dd>
                            <dd><a href="javascript:void(0);" lay-href="">超链接</a></dd>
                        </dl>
                    </li>

                    <li class="layui-nav-item">
                        <a href="javascript:void(0);" lay-href="" lay-tips="云市场" lay-direction="2">
                            <i class="layui-icon layui-icon-chart-screen"></i>
                            <cite>云市场</cite>
                        </a>
                    </li>

                    <li class="layui-nav-item">
                        <a href="javascript:void(0);" lay-href="" lay-tips="发布商品" lay-direction="2">
                            <i class="layui-icon layui-icon-file"></i>
                            <cite>发布商品</cite>
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <!-- 页面标签 -->
        <div class="admin-page-tabs" id="system_tabs">

            <div class="layui-icon layui-icon-prev admin-tabs-control" admin-event="leftPage"></div>
            <div class="layui-icon layui-icon-next admin-tabs-control" admin-event="rightPage"></div>

            <div class="layui-icon layui-icon-down admin-tabs-control">
                <ul class="layui-nav admin-tabs-select" lay-filter="admin-page-tabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:void(0);"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd admin-event="closeThisTabs"><a href="javascript:void(0);">关闭当前标签页</a></dd>
                            <dd admin-event="closeOtherTabs"><a href="javascript:void(0);">关闭其它标签页</a></dd>
                            <dd admin-event="closeAllTabs"><a href="javascript:void(0);">关闭全部标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>

            <div class="layui-tab" lay-unauto lay-allowClose="true" lay-filter="admin-layout-tabs">
                <ul class="layui-tab-title" id="system_tabs_header">
                    <li lay-id="/welcome" lay-attr="/welcome" class="layui-this">
                        <i class="layui-icon layui-icon-home"></i> 主页
                    </li>
                </ul>

                <!-- 主体内容 -->
                <div class="layui-tab-content layui-body" id="app_body">
                    <div class="layui-tab-item admin-tabs-body-item layui-show">
                        <iframe src="/welcome" frameborder="0" class="admin-iframe"></iframe>
                    </div>
                </div>
            </div>
        </div>

        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="admin-body-shade" admin-event="shade"></div>

    </div>
</div>

<!--[if lt IE 9]>
<script src="/libs/html5/html5shiv.min.js"></script>
<script src="/libs/ie/respond.min.js"></script>
<![endif]-->

<!--<script src="/libs/jquery/jquery.min.js"></script>-->

<script src="/libs/layui/layui.js"></script>

<script src="/js/index.js?t=2"></script>

<script>

    window.onbeforeunload = function (e) {
        return false;
    };

    // 重写F5刷新
    document.onkeydown = function () {
        if (event.keyCode === 116) {
            event.keyCode = 0;
            event.cancelBubble = true;

            events.refresh();

            return false;
        }
    };

    // 禁止右键弹出菜单
    // document.oncontextmenu = function () {
    //     return false;
    // }

</script>

</body>
</html>